package com.kust.smarthome.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kust.smarthome.web.model.Watch;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author iAuzre
 * @since 2021-07-06
 */
public interface IWatchService extends IService<Watch> {

    List<Watch> getByUserId(Integer userId);

    void insert(Watch watch);

    //获取家人智能表的信息
    String getContent(Integer watchId);
}
